package com.example.hospitaldemo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.hospitaldemo.entity.CheckInRecord;
import com.example.hospitaldemo.mapper.CheckInRecordMapper;
import com.example.hospitaldemo.service.ICheckInRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 入院记录表 服务实现类
 * </p>
 *
 * @author 张三
 * @since 2024-12-16
 */
@Service
public class CheckInRecordServiceImpl extends ServiceImpl<CheckInRecordMapper, CheckInRecord> implements ICheckInRecordService {
    @Autowired
    private CheckInRecordMapper checkInRecordMapper;
    @Override
    public CheckInRecord getByZhiliaoshiId(QueryWrapper<CheckInRecord> wrapper) {
        return checkInRecordMapper.getByZhiliaoshiId(wrapper);
    }
}
